/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package alcatelparser.modules;

/**
 *
 * @author geniuz
 */
public class OutHelper
{

    public OutHelper()
    {
    }

    public static final String getRecordNumber(int i)
    {
        if(!Env.getEnv().isRecordNumbering() && !Env.getEnv().isSeparateRecords())
            return "";
        else
            return (new StringBuilder()).append(I.I(8519)).append(i).append(I.I(4062)).toString();
    }

    public static final String getFooter(int i, int j, int k, int l)
    {
        String s = ResultTagProperties.getTagProperties().getProperty(I.I(8254));
        if(I.I(1023).equals(s))
        {
            StringBuffer stringbuffer = new StringBuffer();
            stringbuffer.append(I.I(8266));
            stringbuffer.append(I.I(8269));
            stringbuffer.append((new StringBuilder()).append(I.I(8310)).append(i).append(I.I(8326)).toString());
            stringbuffer.append((new StringBuilder()).append(I.I(8310)).append(k).append(I.I(8344)).append(j).append(I.I(8358)).toString());
            stringbuffer.append(I.I(8376));
            stringbuffer.append(I.I(8445));
            stringbuffer.append((new StringBuilder()).append(I.I(8488)).append(l).append(I.I(4062)).toString());
            stringbuffer.append(I.I(8269));
            return stringbuffer.toString();
        } else
        {
            return "";
        }
    }
}
